package com.xbfinance.portal.dao;


import java.util.List;

import com.xbfinance.portal.pojo.po.P2pAccount;
import com.xbfinance.portal.pojo.po.P2pAccountExample;
import com.xbfinance.portal.pojo.po.P2pAccountKey;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface P2pAccountMapper {
    int countByExample(P2pAccountExample example);

    int deleteByExample(P2pAccountExample example);

    int deleteByPrimaryKey(P2pAccountKey key);

    int insert(P2pAccount record);

    int insertSelective(P2pAccount record);

    List<P2pAccount> selectByExample(P2pAccountExample example);

    P2pAccount selectByPrimaryKey(P2pAccountKey key);

    int updateByExampleSelective(@Param("record") P2pAccount record, @Param("example") P2pAccountExample example);

    int updateByExample(@Param("record") P2pAccount record, @Param("example") P2pAccountExample example);

    int updateByPrimaryKeySelective(P2pAccount record);

    int updateByPrimaryKey(P2pAccount record);
}